<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        table{
            background-color: #99ff00;
            border-color: green;
        }
     td{
            text-align: center;
            font-weight: bold;
          
        }
        #class1,th{
            color:blue;
        }
        .bjg{
            color: red;
        }
    </style>
</head>
<body>
   <table rules="rows" border="1" align="center" width="600px" height="300px" background="ooo.png">
    <caption>表1 第一学期成绩表</caption>
    <tr>
        <th rowspan="2">序号</th>
        <th rowspan="2">学号</th>
        <th rowspan="2">姓名</th>
        <th colspan="5">第一学期成绩</th>
    </tr>
                <th>&nbsp;英&nbsp;&nbsp;语</th>
                    <th>&nbsp;高&nbsp;&nbsp;数</th>
                    <th>&nbsp;学科导论</th>
                    <th>&nbsp;就&nbsp;&nbsp;业</th>
                    <th>&nbsp;总&nbsp;&nbsp;分</th>
            </tr>
        <tr>
        <td>1</td>
        <td>1019200101</td>
        <td>李大宇</td>
        <td>75</td>
        <td>76</td>
        <td>76</td>
        <td>90</td>
        <td>395</td>
    </tr>
    <tr>
        <td>2</td>
        <td>1019200102</td>
        <td>张子明</td>
        <td>60</td>
        <td class="bjg">45</td>
        <td>66</td>
        <td class="bjg">55</td>
        <td>303</td>
    </tr>
    <tr>
        <td>3</td>
        <td>1019200103</td>
        <td>胡大明</td>
        <td class="bjg">55</td>
        <td>68</td>
        <td>64</td>
        <td>80</td>
        <td>343</td>
    </tr>
    <tr>
        <td>4</td>
        <td>1019200104</td>
        <td>王不学</td>
        <td class="bjg">34</td>
        <td>87</td>
        <td>76</td>
        <td class="bjg">45</td>
        <td>309</td>
    </tr>
    <tr>
        <td>5</td>
        <td>1019200105</td>
        <td>徐知道</td>
        <td>67</td>
        <td>95</td>
        <td>66</td>
        <td>90</td>
        <td>363</td>
    </tr>
    <tr id="class1">
        <td colspan="3">课程平均分</td>
        <td class="bjg">58.2</td>
        <td>74.2</td>
        <td>69.6</td>
        <td>72</td>
    </tr> 
    </table> 
</body>
</html>